﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Contains the configuration a GUI - Element or Elements Property| Event
 * 
 * Created:     13.07.2015
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2015 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     13.07.2015 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model.Metadata
{
    public class Meta_ElementData :CModelBase
    {
        string _ElementName = "";
        string _ElementType = "";
        string _ElementCaption = "";

        public Meta_ElementData() { }

        public Meta_ElementData(string Name, string Caption, string Type)
        {
            _ElementName = Name;
            _ElementCaption = Caption;
            _ElementType = Type;
        }

        public string Name
        {
            get { return _ElementName; }
            set
            {
                _ElementName = value;
                OnPropertyChanged();
            }
        }

        public string Caption
        {
            get { return _ElementCaption; }
            set 
            { 
                _ElementCaption = value;
                OnPropertyChanged();
            }
        }

        public string Type
        {
            get { return _ElementType; }
            set 
            { 
                _ElementType = value;
                OnPropertyChanged();
            }
        }
    }
}
